package com.nativetalk.bean.comment;

import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.Range;

import java.sql.Timestamp;

/**
 * TdNtComment entity. @author MyEclipse Persistence Tools
 */

public class TdNtCommentInsert implements java.io.Serializable {

	// Fields

	/**
	 *
	 */
	private static final long serialVersionUID = 1L;
	private Integer com_id;
	@Range(min=0,message="{TIPAUTHORERROR}")
	private Integer stt_id;
	private Integer memb_id;
	private Integer tea_id;
	@Range(min=1,max=5,message="{STUDY.GRADE.REGEXP}")
	private Integer com_grade;
	@Length(min = 1,max = 150, message = "{STUDY.CONTENT.REGEXP}}")
	private String com_content;
	private String com_month;
	private Integer cou_id;//教程id
	private String com_reply_content;//教师回复
	private Timestamp com_reply_time;//回复时间
	private String recording_url;//录音地址

	public String getRecording_url() {
		return recording_url;
	}

	public void setRecording_url(String recording_url) {
		this.recording_url = recording_url;
	}

	public String getCom_reply_content() {
		return com_reply_content;
	}

	public void setCom_reply_content(String com_reply_content) {
		this.com_reply_content = com_reply_content;
	}

	public Timestamp getCom_reply_time() {
		return com_reply_time;
	}

	public void setCom_reply_time(Timestamp com_reply_time) {
		this.com_reply_time = com_reply_time;
	}


	public void setCou_id(Integer cou_id) {
		this.cou_id = cou_id;
	}

	public Integer getCou_id() {
		return cou_id;
	}


	public Integer getCom_id() {
		return com_id;
	}

	public Integer getStt_id() {
		return stt_id;
	}

	public Integer getMemb_id() {
		return memb_id;
	}

	public Integer getTea_id() {
		return tea_id;
	}

	public Integer getCom_grade() {
		return com_grade;
	}

	public String getCom_content() {
		return com_content;
	}


	public String getCom_month() {
		return com_month;
	}

	public void setCom_month(String com_month) {
		this.com_month = com_month;
	}

	public void setCom_id(Integer com_id) {
		this.com_id = com_id;
	}

	public void setStt_id(Integer stt_id) {
		this.stt_id = stt_id;
	}

	public void setMemb_id(Integer memb_id) {
		this.memb_id = memb_id;
	}

	public void setTea_id(Integer tea_id) {
		this.tea_id = tea_id;
	}

	public void setCom_grade(Integer com_grade) {
		this.com_grade = com_grade;
	}

	public void setCom_content(String com_content) {
		this.com_content = com_content;
	}

}